package com.ruoyi.yuce.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.Date;

public class EndStart extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /** 场站id */
    @Excel(name = "场站id")
    private Integer czid;

    /** 场站名 */
    @Excel(name = "场站名")
    private String czname;

    /** 部件类型id */
    @Excel(name = "部件类型id")
    private Integer bjtypeid;

    /** 部件类型 */
    @Excel(name = "部件类型")
    private String bjtypename;

    /** 部件id */
    @Excel(name = "部件id")
    private Integer bjid;

    /** 部件名 */
    @Excel(name = "部件名")
    private String bjname;

    /** 日期 */
    @Excel(name = "日期", dateFormat = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date riqi;

    /** 部件参数 */
    @Excel(name = "部件状态", readConverterExp = "1=正常,141=故障")
    private Integer bjpara;

    /** 查询日期 */
    private String criqi;

    public Integer getCzid() {
        return czid;
    }

    public void setCzid(Integer czid) {
        this.czid = czid;
    }

    public String getCzname() {
        return czname;
    }

    public void setCzname(String czname) {
        this.czname = czname;
    }

    public Integer getBjtypeid() {
        return bjtypeid;
    }

    public void setBjtypeid(Integer bjtypeid) {
        this.bjtypeid = bjtypeid;
    }

    public String getBjtypename() {
        return bjtypename;
    }

    public void setBjtypename(String bjtypename) {
        this.bjtypename = bjtypename;
    }

    public Integer getBjid() {
        return bjid;
    }

    public void setBjid(Integer bjid) {
        this.bjid = bjid;
    }

    public String getBjname() {
        return bjname;
    }

    public void setBjname(String bjname) {
        this.bjname = bjname;
    }

    public Date getRiqi() {
        return riqi;
    }

    public void setRiqi(Date riqi) {
        this.riqi = riqi;
    }

    public Integer getBjpara() {
        return bjpara;
    }

    public void setBjpara(Integer bjpara) {
        this.bjpara = bjpara;
    }

    public String getCriqi() {
        return criqi;
    }

    public void setCriqi(String criqi) {
        this.criqi = criqi;
    }

    @Override
    public String toString() {
        return "EndStart{" +
                ", czid=" + czid +
                ", czname='" + czname + '\'' +
                ", bjtypeid=" + bjtypeid +
                ", bjtypename=" + bjtypename +
                ", bjid=" + bjid +
                ", bjname='" + bjname + '\'' +
                ", riqi=" + riqi +
                ", bjpara=" + bjpara +
                ", criqi='" + criqi + '\'' +
                '}';
    }
}
